#ifndef _AME_UTILS_H_


#define _AME_UTILS_H_
#define RFIFOP(me, pos) (me->rbuffer->data+(pos))
#define RFIFOB(me, pos) (*(unsigned char*)(me->rbuffer->data+pos))
#define RFIFOW(me, pos) (*(unsigned short*)(me->rbuffer->data+pos))
#define RFIFOL(me, pos) (*(unsigned int*)(me->rbuffer->data+pos))
#define WFIFOP(me, pos) (me->wbuffer->data+me->wbuffer->mark+pos)
#define WFIFOB(me, pos) (*(unsigned char*)(me->wbuffer->data+me->wbuffer->mark+pos))
#define WFIFOW(me, pos) (*(unsigned short*)(me->wbuffer->data+me->wbuffer->mark+pos))
#define WFIFOL(me, pos) (*(unsigned int*)(me->wbuffer->data+me->wbuffer->mark+pos))
 inline void WFIFOSP(struct client *, int);
 inline int WFIFOPR(struct client *, int);
 inline int RFIFOPR(struct client *, int);
 int readConf(const char *);
#endif
